<?php self::include_block('my/main_nav'); ?>

<div id="mainContainer">    
    <div class="layout">
        <?php self::include_block('my/resume/lefter'); ?>
        <div class="right">
            <!--右导航栏-->
            <?php self::include_block('my/right_nav'); ?>
            
            <div class="rightRow1">请在页面下方填写新的语言。<span class="warning">最多<?php echo resume_ext_service::$limits['language'] ?>个</span>。要更改或删除某项语言，请按"编辑"或"删除"链接。</div>
            
            <!-- 已添加的语言能力 -->
            <table class="table1" border="0" cellpadding="0" cellspacing="0" width="770">
                <thead>
                    <tr>
                        <th class="noLine" width="4"><img src="http://myimg.zhaopin.com/images/new_v4/row2TL.jpg" height="24" width="4"></th>
                        <th width="460">外语语种</th>
                        <th width="100">读写能力</th>
                        <th width="100">听说能力</th>
                        <th width="100">&nbsp;</th>
                        <th class="noLine" width="4"><img src="http://myimg.zhaopin.com/images/new_v4/row2TR.jpg" height="24" width="4"></th></tr>
                </thead>
                <tbody>
                    <tr>
                        <td colspan="6" style="border-left:1px solid #B9B9D3;border-right:1px solid #B9B9D3" valign="top">
                            <table class="table6" border="0" cellpadding="0" cellspacing="0" width="760">
                                <tbody>
                                    <?php if ($languages !== null): ?>
                                        <?php foreach ($languages as $language): ?>
                                            <tr>
                                                <td class="tab6Td1" width="460"><?php echo language_model::$categories[$language->category]; ?></td>
                                                <td width="100"><?php echo language_model::$write_skills[$language->write_skill] ?> &nbsp;</td>
                                                <td><?php echo language_model::$read_skills[$language->read_skill] ?> &nbsp;</td>
                                                <td width="100"><a href="<?php self::php_url(array('my-language/edit', array('id' => $id, 'language_id' => $language->id))); ?>" class="blue12line">编辑</a>  |  <a href="javascript:void(0);" class="blue12line del">删除</a> <input type="hidden" name="url" value="<?php self::csrf_url('user', array('my-language/do_del', array('id' => $id, 'language_id' => $language->id))); ?>" /></td>
                                            </tr>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <td height="4"><img src="<?php self::media_url('new_v4/row1BL.gif'); ?>" height="4" width="4"></td>
                        <td colspan="4" background="<?php self::media_url('new_v4/row1BBg.gif'); ?>"></td>
                        <td><img src="<?php self::media_url('new_v4/row1BR.gif'); ?>" height="4" width="4"></td>
                    </tr>
                </tfoot>
            </table>
            
            <!--语言能力表单-->
            <?php self::include_block('my/language_form'); ?>
        </div>
    </div>
</div>